package org.example.myleet.p452;

public class Main {
    public static void main(String[] args) {
        //case 1 2
        int[][] input = new int[][]{{10,16},{2,8},{1,6},{7,12}};
        //case 2 4
//        int[][] input = new int[][]{{1,2},{3,4},{5,6},{7,8}};
        //case 3 1
//        int[][] input = new int[][]{{1,2}};
        //case 4 1
//        int[][] input = new int[][]{{2,3},{2,3}};
        Solution solution = new Solution();
        int answer = solution.findMinArrowShots(input);
        System.out.println(answer);
    }
}
